<?php

/**
 * App
 *
 * @category   BEAR
 * @package    App
 * @subpackage App_Resource
 * @author     $Author: anonymous $ <anonymous@example.com>
 * @version    SVN: Release: $Id: _untitiled.php 296 2009-09-12 20:50:42Z anonymous $
 * @link       http://www.example.com/
 * @ignore
 */

/**
 * Untitledアウトプットフィルター
 *
 * @param array $values  引数
 * @param array $options オプション
 *
 * @return BEAR_Vo
 * 
 * @ignore
 */
function outputUntitled($values, array $options)
{
    $body = json_encode($values);
    $headers = array('X-BEAR-Output: untitled', 'Content-Type: text/html; charset=utf-8');
    $ro = BEAR::factory('BEAR_Ro');
    $ro->setBody($body);
    $ro->setHeaders($headers);
    return $ro;
}